package org.dreamwork.assistant.tools.network.gui;

import java.io.OutputStream;

/**
 * Created by seth.yang on 2018/5/7
 */
public interface IMessageLogger {
    int NORMAL     = 0,
        INFO       = 1,
        ERROR      = 2;
    void setShowTime (boolean showTime);
    void setShowAscii (boolean showAscii);
    void setAutoReturn (boolean autoReturn);
    void append (byte[] message);
    void append (byte[] message, int level);
    void dumpTo (OutputStream out);
}